﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sys.Web
{
    /// <summary>
    /// 客户端想服务器端请求的消息
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class RMessage<T>
    {

        private string _Action = string.Empty;
        //private Sys.Web.Pro.User _Data=new Sys.Web.Pro.User();
        private T _Data;
        /// <summary>
        /// 客户端向服务器端请求的动作
        /// </summary>
        public string Action
        {
            set { this._Action = value; }
            get { return this._Action; }
        }
        /// <summary>
        /// 客户端向服务器端请求的消息数据
        /// </summary>
        public T Data
        {
            set { this._Data = value; }
            get { return this._Data; }
        }
        
    }
}
